'use strict';
angular.module('nec-admin.admin', [])
    .config(['$stateProvider', function ($stateProvider) {
        $stateProvider
            .state('admin', {
                url: '/admin',
                abstract: true,
                views: {
                    '': {
                        templateUrl: 'views/admin/admin.html'
                    }
                }
            })
            .state('admin.hello', {
                url: '/hello',
                views: {
                    'content': {
                        templateUrl: 'views/admin/hello.html'
                    }
                }
            })
            .state('admin.list', {
                url: '/list',
                views: {
                    'content': {
                        templateUrl: 'views/admin/list/list.html',
                        controller:'adminController'
                    }
                }
            })
            .state('admin.course', {
                url: '/course',
                views: {
                    'content': {
                        templateUrl: 'views/admin/course/course.html',
                        controller:'adminController'
                    }
                }
            })
    }]);
